package com.tgpms.web.element.service;

import com.tgpms.util.PageInfo;
import com.tgpms.web.element.entity.CommodityMaster;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.List;
import java.util.Map;

import com.tgpms.common.Result;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jl
 * @since 2020-07-07
 */
public interface ICommodityMasterService{

	/**
		新增
	*/
	Map<String,String> addCommodityMaster(CommodityMaster en);
	
	/**
		更新
	*/
	Map<String,String> updateCommodityMaster(CommodityMaster en);
	
	/**
		根据主键id删除
	*/
	Map<String,String> deleteCommodityMaster(Integer quickCode);

    Result selCommodityMasterList(PageInfo pageInfo);

	Map<String,String>  batchImport(MultipartFile file,String dataOwner,String insertName);
}
